<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model as Eloquent;

/**
 * Class ActiveApply
 * 
 * @property int $id
 * @property int $hall_id
 * @property int $user_id
 * @property string $username
 * @property int $active_id
 * @property string $active_name
 * @property int $deposit_amount
 * @property int $coupon_amount
 * @property int $withdraw_require
 * @property string $content
 * @property string $remark
 * @property int $creator_id
 * @property bool $is_auto_apply
 * @property int $status
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class ActiveApply extends Eloquent
{
	protected $table = 'active_apply';

	protected $casts = [
		'hall_id' => 'int',
		'user_id' => 'int',
		'active_id' => 'int',
		'deposit_amount' => 'int',
		'coupon_amount' => 'int',
		'withdraw_require' => 'int',
		'creator_id' => 'int',
		'is_auto_apply' => 'bool',
		'status' => 'int'
	];

	protected $fillable = [
		'hall_id',
		'user_id',
		'username',
		'active_id',
		'active_name',
		'deposit_amount',
		'coupon_amount',
		'withdraw_require',
		'content',
		'remark',
		'creator_id',
		'is_auto_apply',
		'status'
	];
}
